export default {
  /**
   * 根据类别编码获取分类代码数据源
   * @param lbbm 字符串
   * @returns 树形列表
   * 示例: Fldm.getFldmlb('558892')
   */
  getFldmlb(lbbm: string): Array<any> {
    let newArr = []
    const source = sessionStorage.getItem('fldmList')
    if (source) {
      const fldmList = JSON.parse(source)
      newArr = fldmList[lbbm] || []
    }
    return newArr
  },
}
